package com.hoshiicloud.saleorder.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author ygd
 * @version 1.0
 * @title: StoreOrderQueryParam
 * @description: 订单列表分页查询参数
 * @date 2019/6/27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class StoreOrderQueryParam {

    // 会员用户id
    @ApiModelProperty(value = "会员id")
    private Long memberId;

    // 店铺id
    @ApiModelProperty(value = "店铺id")
    private Long storeId;

    // 条数
    @ApiModelProperty(value = "条数", example = "5")
    private String pageSize = "5";

    // 当前页
    @ApiModelProperty(value = "当前页", example = "1")
    private String pageNumber = "1";

    // 状态
    @ApiModelProperty(value = "状态 1-全部 2-待付款  3-待自提 4-已完成 5-已取消 6-待评价 7-售后")
    private Integer status;

    // 当前定位经度
    @ApiModelProperty(value = "当前定位经度")
    private Double longitude;

    // 当前定位维度
    @ApiModelProperty(value = "当前定位维度")
    private Double latitude;

    // 提货时间参数
    @ApiModelProperty(value = "提货时间参数")
    private LocalDateTime pickUpTime;

    // 开始时间
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    // 结束时间
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    // 提货人手机号码
    @ApiModelProperty(value = "提货人手机号码")
    private String mobile;

    // 订单编号
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

}
